package com.crcloud.auth.config;

import com.crcloud.auth.domain.ClientConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties("client-configs")
public class AllClientConfigs {
    private List<ClientConfig> list;

    public AllClientConfigs() {
    }

    public List<ClientConfig> getList() {
        return list;
    }

    public void setList(List<ClientConfig> list) {
        this.list = list;
    }
}
